package com.sq.partner.manager.mybatis.model;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.text.DecimalFormat;
import java.util.Date;
import java.util.List;

import com.sq.partner.manager.util.EncryptUtil;

/**
 * 暂存表
 * SQ
 */
public class FacadeTempPolicy { 
	private String stagNo; //暂存单号
	private String partnerNo; //投保单位
	private String partnerSaleNo; //投保单位子机构
	private String purveyorName; //经办人
	private Date inputFate; //录入日期
	private String purveyorTel; //经办人电话
	private Timestamp creatTime; //创建时间
	private Timestamp updateTime; //修改时间
	private String status; //状态
	private String operator; //操作人
	private String paymentTransNo; //支付交易流水号
	private String prodType; //产品类型 1人险 2非车
	private String inputFateString; //录入日期 String 类型

	private String isSeeMoney; //是否见费出单
	
	/** 加密的暂存单号*/
	private String stag_No; //暂存单号
	/**总保费*/
	private BigDecimal amount; //总保费
	
	private String remarks;//备注
	
	private String clientName;//投保人 个单专用
	/**
	 * 暂存单下的保单
	 */
	private List<FacadeAppForm> facadeAppForms;
	/**
	 * 新增字段
	 */
	private Long groupId; //父方案组id
	private String facadeAppType; //界面出单投保方式	1是团单   2是个单   3是非车投保049B
	private String channelName;	//投保单位名称
	private String userName;	//经办人（该字段取值于当前登录用户的userNmae）
	private String statusName;	//状态名称
	private String updateTimeString;//修改日期
	
	
	
    public String getStag_No() {
		return stag_No;
	}
	public void setStag_No(String stag_No) {
		this.stag_No = EncryptUtil.encrypt(stag_No);
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
        DecimalFormat decimalFormat = new DecimalFormat("#.00");
        if (amount != null) {
            this.amount = new BigDecimal(decimalFormat.format(amount));
        } else {
            this.amount = amount;
        }
	}
	public void setStagNo(String stagNo){
    	this.stagNo = stagNo;
    }
    public String getStagNo(){
    	return	this.stagNo;
    }
    public void setPartnerNo(String partnerNo){
    	this.partnerNo = partnerNo;
    }
    public String getPartnerNo(){
    	return	this.partnerNo;
    }
    public void setPartnerSaleNo(String partnerSaleNo){
    	this.partnerSaleNo = partnerSaleNo;
    }
    public String getPartnerSaleNo(){
    	return	this.partnerSaleNo;
    }
    public void setPurveyorName(String purveyorName){
    	this.purveyorName = purveyorName;
    }
    public String getPurveyorName(){
    	return	this.purveyorName;
    }
    public void setInputFate(Date inputFate){
    	this.inputFate = inputFate;
    }
    public Date getInputFate(){
    	return	this.inputFate;
    }
    public void setPurveyorTel(String purveyorTel){
    	this.purveyorTel = purveyorTel;
    }
    public String getPurveyorTel(){
    	return	this.purveyorTel;
    }
    public void setCreatTime(Timestamp creatTime){
    	this.creatTime = creatTime;
    }
    public Timestamp getCreatTime(){
    	return	this.creatTime;
    }
    public void setUpdateTime(Timestamp updateTime){
    	this.updateTime = updateTime;
    }
    public Timestamp getUpdateTime(){
    	return	this.updateTime;
    }
    public void setStatus(String status){
    	this.status = status;
    }
    public String getStatus(){
    	return	this.status;
    }
    public void setOperator(String operator){
    	this.operator = operator;
    }
    public String getOperator(){
    	return	this.operator;
    }
	public String getInputFateString() {
		return inputFateString;
	}
	public void setInputFateString(String inputFateString) {
		this.inputFateString = inputFateString;
	}
	public Long getGroupId() {
		return groupId;
	}
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}
	public String getFacadeAppType() {
		return facadeAppType;
	}
	public void setFacadeAppType(String facadeAppType) {
		this.facadeAppType = facadeAppType;
	}
	public String getChannelName() {
		return channelName;
	}
	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public String getPaymentTransNo() {
		return paymentTransNo;
	}
	public void setPaymentTransNo(String paymentTransNo) {
		this.paymentTransNo = paymentTransNo;
	}
	public String getProdType() {
		return prodType;
	}
	public void setProdType(String prodType) {
		this.prodType = prodType;
	}
	public String getUpdateTimeString() {
		return updateTimeString;
	}
	public void setUpdateTimeString(String updateTimeString) {
		this.updateTimeString = updateTimeString;
	}
	public String getIsSeeMoney() {
		return isSeeMoney;
	}
	public void setIsSeeMoney(String isSeeMoney) {
		this.isSeeMoney = isSeeMoney;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getClientName() {
		return clientName;
	}
	public void setClientName(String clientName) {
		this.clientName = clientName;
	}
    public List<FacadeAppForm> getFacadeAppForms() {
        return facadeAppForms;
    }
    public void setFacadeAppForms(List<FacadeAppForm> facadeAppForms) {
        this.facadeAppForms = facadeAppForms;
    }
	
}